package com.irdstudio.efp.rule.service.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * 
 * 电核信息
 * 
 * @author Cytus_
 * @since 2018年5月15日 上午9:56:44
 * @version 1.0
 *
 */
public class TelAprvEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private List<TelAprvCfg> cfgs;
	
	private List<TelAprvResult> rlts;
	
	public List<TelAprvCfg> getCfgs() {
		return cfgs;
	}

	public void setCfgs(List<TelAprvCfg> cfgs) {
		this.cfgs = cfgs;
	}

	public void addCfg(TelAprvCfg cfg) {
		if (Objects.isNull(cfgs)) {
			this.cfgs = new ArrayList<TelAprvCfg>();
		}
		this.cfgs.add(cfg);
	}
	
	public List<TelAprvResult> getRlts() {
		return rlts;
	}

	public void setRlts(List<TelAprvResult> rlts) {
		this.rlts = rlts;
	}

	public void addRlt(TelAprvResult rlt) {
		if (Objects.isNull(rlts)) {
			this.rlts = new ArrayList<TelAprvResult>();
		}
		this.rlts.add(rlt);
	}
	
}
